<!DOCTYPE html>
<html>

<head>
    <title>新增资源</title>
</head>

<body>

<div class="page-header">
    <h1>${_resource_name!''}
        <small><i class="ace-icon fa fa-angle-double-right"></i>
            新增资源
        </small>
    </h1>
</div><!-- /.page-header -->

<div class="row">
    <div class="col-xs-12">
        <!-- PAGE CONTENT BEGINS -->
        <form id="common_form" class="form-horizontal" role="form" action="${ctlKey}/addSave" method="post">
            <div class="col-xs-12 col-sm-12">
                <@form_input l="id" name="id" />
                <@form_input l="名称" name="resourceName" p="名称"/>
                <@form_input l="英文名称" name="resourceEname" p="英文名称"/>
                <@form_input l="类型" name="type" p="类型: munu或button"/>
                <@form_input l="URI" name="url" p="URI"/>
                <@form_input l="parentId" name="parentId" p="parentId"/>
                <@form_input l="权限" name="permission" p="权限"/>
                <@form_input l="排序" name="sort" p="排序"/>
                <@form_input l="icon 样式" name="iconCls" p="icon class"/>
                <@form_input l="code" name="code" p="code"/>
                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" type="submit">
                            <i class="ace-icon fa fa-check bigger-110"></i> Submit
                        </button>
                        &nbsp; &nbsp; &nbsp;
                        <button class="btn" type="reset">
                            <i class="ace-icon fa fa-undo bigger-110"></i> Reset
                        </button>
                    </div>
                </div>

            </div>

        </form>
        <!-- PAGE CONTENT ENDS -->
    </div><!-- /.col -->
</div><!-- /.row -->

</body>
<my_script>
    <script src="/assets/js/jquery.validate.min.js"></script>
    <script src="/common/js/jquery.validate.default.js"></script>
    <script src="/common/js/common.form.js"></script>

    <script type="text/javascript">
        function submitHandler(){
            return true;
        }
    </script>

</my_script>

</html>